/**
 * Copyright (C) 2016 inote.online
 * FileName:	Application.java
 * Created:		2016年12月4日 下午6:25:07
 */

package sui.jersey.application;

import org.glassfish.jersey.filter.LoggingFilter;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.filter.UriConnegFilter;

import sui.jersey.filter.AuthorizationRequestFilter;

/**
 * <p>
 * Description:
 * </p>
 * 
 * @author XQF SUI
 * @Created 2016年12月4日 下午6:25:07
 * @version 1.0
 */
@SuppressWarnings("deprecation")
public class Application extends ResourceConfig {
	
	public Application() {
		packages("sui.jersey.api");
		register(UriConnegFilter.class);
		register(AuthorizationRequestFilter.class);
		register(LoggingFilter.class);
		
	}
}
